package priv.ljh.operate.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * @author ：Yshuaong
 * @date ：Created in 2021/6/13 16:01
 * @description：
 * @modified By：
 * @version: $
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="购物车", description="购物车列表")
public class Shopcar implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "编号")
    @TableId(value = "sid", type = IdType.AUTO)
    private Integer sid;

    @ApiModelProperty(value = "物品名")
    private String title;

    @ApiModelProperty(value = "摘要")
    private String zhaiyao;

    @ApiModelProperty(value = "数量")
    private Integer number;

    @ApiModelProperty(value = "图片地址")
    private String imgUrl;

    @ApiModelProperty(value = "售价")
    private String sellPrice;

    @ApiModelProperty(value = "市场价")
    private String marketPrice;

    @ApiModelProperty(value = "uid")
    private Integer uid;


}
